package com.zbkj.crmeb.member.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 渠道商户属性表
 * </p>
 *
 * @author xx
 * @since 2022-05-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("eb_channel_merchant_attribute")
@ApiModel(value="ChannelMerchantAttribute对象", description="渠道商户属性表")
public class ChannelMerchantAttribute extends Model<ChannelMerchantAttribute> {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "商户id")
    private Integer merId;

    @ApiModelProperty(value = "商户会员协议")
    private String membershipAgreement;

    @ApiModelProperty(value = "批采单导航栏是否显示")
    private Integer isPicking;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "活动订单时效")
    private Integer activityOrderTime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
